#!/usr/bin/env python
# -*- encoding: utf-8 -*-
'''
@File    :   exceptions.py
@Time    :   2021/04/02 02:02:58
@Author  :   superjin
@Version :   1.0
'''



class GuacamoleError(Exception):
    def __init__(self, message):
        super(GuacamoleError, self).__init__(
            'Guacamole Protocol Error. %s' % message
        )


class InvalidInstruction(Exception):
    def __init__(self, message):
        super(InvalidInstruction, self).__init__(
            'Invalid Guacamole Instruction! %s' % message
        )